'use strict';

module.exports = app => {
  class SpaceService extends app.Service {

    * create(params) {

      const result = yield app.model.space.create(params);

      return result;

    }
  }
  return SpaceService;
};
